package com.example.comp3111project;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;



public class restaurant_page extends Activity{ 
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.restaurant_page);
	
		
	     Button advsearch = (Button)findViewById( R.id.commentbutton );
	      
	     
	      advsearch.setOnClickListener(  new OnClickListener(){
	         public void onClick(View v) {
	            
	          
	            Intent newAct = new Intent();
	            newAct.setClass( restaurant_page.this, commentpage.class );
	            
	            
	            startActivity( newAct );
	            
	            //searchpage.this.finish();
	        }
	      });
		
	}

}